package org.example.myleet.p457;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.circularArrayLoop(new int[]{2,-1,1,2,2}));
        Assert.isTrue(!solution.circularArrayLoop(new int[]{-1,2}));
        Assert.isTrue(!solution.circularArrayLoop(new int[]{-2,1,-1,-2,-2}));
        Assert.isTrue(solution.circularArrayLoop(new int[]{2,-2,1,2,2,-10}));
        Assert.isTrue(solution.circularArrayLoop(new int[]{1,1,2}));
    }
}
